<div class="search">
	<h5>Vyhľadávanie</h5>
	<form action="{actualurl}" method="post">
		<ul>
			<li>
				<select name="selectbox" class="selectbox" id="search-select">
					{foreach from=$pages item='page'}
						<option{if $actualState.id == $page.alias} selected="selected"{/if} value="{$page.uid}">{$page.title}</option>
					{/foreach}
				</select>
			</li>
			<li><input type="text" name="price_from" onfocus="if(this.value=='Cena od'){literal}{this.value='';}{/literal}" onblur="if(this.value==''){literal}{this.value='Cena od';}{/literal}" value="{if $actualState.price_from}{$actualState.price_from}{else}Cena od{/if}" class="small" /> -- <input type="text" name="price_to" onfocus="if(this.value=='Cena do'){literal}{this.value='';}{/literal}" onblur="if(this.value==''){literal}{this.value='Cena do';}{/literal}" value="{if $actualState.price_to}{$actualState.price_to}{else}Cena do{/if}" class="small" /></li>
			<li><input type="text" name="area_from" onfocus="if(this.value=='Výmera od (m2)'){literal}{this.value='';}{/literal}" onblur="if(this.value==''){literal}{this.value='Výmera od (m2)';}{/literal}" value="{if $actualState.area_from}{$actualState.area_from}{else}Výmera od (m2){/if}" class="small" /> -- <input type="text" name="area_to" onfocus="if(this.value=='Výmera do (m2)'){literal}{this.value='';}{/literal}" onblur="if(this.value==''){literal}{this.value='Výmera do (m2)';}{/literal}" value="{if $actualState.area_to}{$actualState.area_to}{else}Výmera do (m2){/if}" class="small" /></li>
		</ul>
		<p class="btns"><input type="submit" value="Hľadať" class="btnsearch" name="btnsearch" /></p>    
	</form>
</div>